part of '../repository.dart';

const _kWebPurchasedSubscriptionInfoPaymentSystemKey = 'payment_system';
const _kWebPurchasedSubscriptionInfoUserIdKey = 'user_id';
const _kWebPurchasedSubscriptionInfoPurchaseItemSkuKey = 'purchase_item_sku';
const _kWebPurchasedSubscriptionInfoOriginalTransactionIdKey = 'original_transaction_id';
const _kWebPurchasedSubscriptionInfoAutoRenewalEnabledKey = 'auto_renewal_enabled';
const _kWebPurchasedSubscriptionInfoCurrentRenewalAttemptTimesKey = 'current_renewal_attempt_times';
const _kWebPurchasedSubscriptionInfoTestKey = 'test';

abstract class _WebPurchasedSubscriptionInfoDto {
  String get paymentSystem;

  String get userId;

  String get purchaseItemSku;

  String get originalTransactionId;

  bool get autoRenewalEnabled;

  BuiltList<_TimeDto> get currentRenewalAttemptTimeDtos;

  bool get test;

  Map<String, dynamic> toJson();

  WebPurchasedSubscriptionInfo toEntity();
}
